package com.example.zluserservice.dto.response;

import io.swagger.annotations.ApiModelProperty;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * @Author zhenliu（孙凌岳）
 * @Description AI生成-菜单meta属性
 * @Date 2025/6/16 9:14
 * @Version 1.0
 */
@Data
@NoArgsConstructor
public class MenuMetaResDTO {
    @ApiModelProperty(value = "标题")
    private String title;

    @ApiModelProperty(value = "图标")
    private String icon;

    @ApiModelProperty(value = "角色")
    private List<String> roles;

    @Builder
    public MenuMetaResDTO(String title, String icon, List<String> roles) {
        this.title = title;
        this.icon = icon;
        this.roles = roles;
    }
}
